SELECT T.*
FROM "${entityMapper.tableName}" t
<${r"#"}include "page.where.ftl">
limit <${r"#"}if pageSize??>:pageSize<${r"#"}else>10</${r"#"}if> OFFSET <${r"#"}if offset??>:offset<${r"#"}else>0</${r"#"}if>